﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FreedomERP.Models;
using FreedomERP.Comm;

namespace FreedomERP.Dao.Sd
{
    interface ISdSaleOrderDAO
    {
        /// <summary>
        /// 根据条件获取列表
        /// </summary>
        /// <author>梁建东</author>
        /// <returns></returns>
        List<SdSaleOrder> QuerySaleOrderPaggingByParam(PagingParams paggingParams, out int totalCount);

        /// <summary>
        /// 根据FId获取订单信息
        /// </summary>
        /// <author>梁建东</author>
        /// <returns></returns>
        SdSaleOrder GetSaleOrderByFId(String FId);

        /// <summary>
        /// 添加订单
        /// </summary>
        /// <author>梁建东</author>
        /// <returns></returns>
        void AddSaleOrder(SdSaleOrder saleOrder);

        /// <summary>
        /// 保存修改
        /// </summary>
        /// <author>梁建东</author>
        /// <returns></returns>
        void Save();
    }
}
